package me.zijunlin.sms.save.model;


import java.util.Date;


public class Sms {

	private int id;
	private String phoneNumber;
	private Date receiveTime;
	private String smsBody;
	private String smsSubject;
	private Person sender;
	private String contactId;
	private Boolean isSave=false;

	public Sms() {
	}

	
	public Sms(int id, Date receiveTime, String smsBody, String smsSubject) {
		this.id = id;
		this.receiveTime = receiveTime;
		this.smsBody = smsBody;
		this.smsSubject = smsSubject;
	}

	

	public void setPerson(Person sender)
	{
		this.sender=sender;
	}
	public void setContactId(String value)
	{
		contactId=value;
	}
	public String getContactId()
	{
		return contactId;
	}
	/**
	 * 
	 * @param value
	 */
	public void setSmsId(int value) {
		id = value;
	}

	public void setPhoneNumber(String value) {
		phoneNumber = value;
	}

	public void setIsSave(Boolean value)
	{
		this.isSave=value;
	}
	/**
	 * 
	 * @param value
	 */
	public void setReceiveTime(Date value) {
		receiveTime = value;
	}

	/**
	 * 
	 * @param value
	 */
	public void setSmsBody(String value) {
		smsBody = value;
	}

	/**
	 * 
	 * @param value
	 */
	public void setSmsSubject(String value) {
		smsSubject = value;
	}

	/**
	 * 
	 * @param value
	 */
	public void setSmsSender(Person value) {
		sender = value;
	}

	/**
	 * 
	 * @return
	 */
	public int getSmsId() {
		return id;
	}

	/**
	 * 
	 * @return
	 */
	public Date getReceiveTime() {
		return receiveTime;
	}
	public Boolean IsSave()
	{
		return isSave;
	}

	/**
	 * 
	 * @return
	 */
	public String getSmsBody() {
		return smsBody;
	}

	/**
	 * 
	 * @return
	 */
	public String getSmsSubject() {
		return smsSubject;

	}

	public Person getSmsSender() {
		return sender;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}
	public Person getPerson()
	{
		return sender;
	}

}
